<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>山东林业扶贫项目</title>
  <meta name="description" content="山东林业扶贫项目">
  <meta name="keywords" content="index">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="${ctxStatic}/sdlyfp/i/favicon.png">
  <link rel="apple-touch-icon-precomposed" href="${ctxStatic}/sdlyfp/i/app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/amazeui.min.css" />
  <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/admin.css">
  <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/app.css">
  <script src="${ctxStatic}/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
  <link rel="stylesheet" href="${ctxStatic}/sweetalert/sweetalert.css">
  <script src="${ctxStatic}/sweetalert/sweetalert.min.js"></script>
  <script src="${ctxStatic}/sdlyfp/js/base.js"></script>
  
</head>

<body data-type="generalComponents">

	<!-- head -->
	<jsp:include page="head.jsp" flush="false"></jsp:include>
	
	<div class="tpl-page-container tpl-page-header-fixed">
	
	<!-- 菜单 -->
	<jsp:include page="menu.jsp" flush="false"></jsp:include>


        <div class="tpl-content-wrapper" >
            <div class="tpl-content-page-title">
                                      总体进度一览表
            <c:if test="${fns:getUser().area.type gt 2}">
               &nbsp;<font style="font-size: 17px;" color="red"><b>温馨提示：</b>
            	该列表展示的是登录操作员所在单位的总体进度，包括：总量、完成量、进度及完成人数；“----”表示当前项目没有该统计项。</font>
            </c:if>
            	
            </div>
            <ol class="am-breadcrumb">
                <li><a href="#" class="am-icon-home">首页</a></li> 
                <li class="am-active">总体进度一览表</li>
            </ol>
            <div class="tpl-portlet-components" style="padding-bottom: 300px;">
                <div class="portlet-title">
                    <div class="caption font-green bold">
                        <span class="am-icon-code"></span> 总体进度一览表
                    </div>

                </div>
                <div class="tpl-block" >
                
                    <div class="am-g">
                        <div class="am-u-sm-12">
                                <table class="am-table am-table-striped am-table-hover table-main">
                                    <thead>
                                        <tr>
                                            <th class="table-title">工作指标</th>
                                            <th class="table-title">任务目标</th>
                                            <th class="table-type">实际完成</th>
                                            <th class="table-author am-hide-sm-only">完成率（%）</th>
                                            <!-- <th class="table-type">帮扶金额</th> -->
                                            <th class="table-type">帮扶带动贫困人口数量</th>
                                            
                                            <th class="table-type" ><center>操作</center></th>
                                            <!-- <th class="table-set">操作</th> -->
                                        </tr>
                                    </thead>
                                    <tbody>
                                    	<%-- <c:forEach items="${page.list }" var="forest"> --%>
                                    	<%-- 经济林面积 --%>
                                        <tr>
                                        	<td>${forestTotalRate.forestAreaName }</td>
                                            <td>${forestTotalRate.forestArea }</td>
                                            <td>${forestTotalRate.realArea }</td>
                                            <td>${forestTotalRate.forestRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtForest?menuId=forest','经济林列表',1200,800);">点击查看经济林列表</button></td>
                                       </tr>
                                       <%-- 经济林人数 --%>
                                       <tr>
                                       		<td>${forestTotalRate.forestPeopleName }</td>
                                            <td>${forestTotalRate.forestPeople }</td>
                                            <td>${forestTotalRate.realPeople }</td>
                                            <td>${forestTotalRate.peopleRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            <td><center>----</center></td>
                                       </tr>
                                       <%-- 护林员岗位扶贫 --%>
                                       <tr>
                                       		<td>${postTotalRate.postName }</td>
                                            <td>${postTotalRate.rangerPost }</td>
                                            <td>${postTotalRate.realPeople }</td>
                                            <td>${postTotalRate.rate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtPost?menuId=post','护林员岗位列表',1200,800);">点击查看护林员岗位列表</button></td>
                                       </tr>
                                       
                                       <%-- 富民示范龙头企业（合作社）扶贫 --%>
                                       <tr>
                                       		<td>${companyTotal.companyName }</td>
                                            <td>${companyTotal.totalCt }</td>
                                            <td>${companyTotal.companyCt }</td>
                                            <td>${companyTotal.companyRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>${companyTotal.realPeople }</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtCompany?menuId=company','龙头企业（合作社）列表',1200,800);">点击查看企业（合作社）列表</button></td>
                                       </tr>
                                       
                                       <%-- 科技下乡扶贫 --%>
                                       <tr>
                                       		<td>${regionCompanyTotal.regionCountryName }</td>
                                            <td>${regionCompanyTotal.total }</td>
                                            <td>${regionCompanyTotal.real }</td>
                                            <td>${regionCompanyTotal.countryRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtCountryInfo?menuId=country','科技下乡列表',1200,800);">点击查看科技下乡列表</button></td>
                                       </tr>
                                       
                                       <%-- 技术明白人 --%>
                                       <tr>
                                       		<td>${clearTotal.clearName }</td>
                                            <td>${clearTotal.countyTotal *5}</td>
                                            <td>${clearTotal.realClear }</td>
                                            <td>${clearTotal.countyRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtTecClear?menuId=clear','技术明白人列表',1200,800);">点击查看技术明白人列表</button></td>
                                       </tr>
                                       <tr>
                                       		<td>${clearTotal.clearTownName }</td>
                                            <td>${clearTotal.townTotal  *3}</td>
                                            <td>${clearTotal.realTownClear }</td>
                                            <td>${clearTotal.townRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtTecClear?menuId=clear','技术明白人列表',1200,800);">点击查看技术明白人列表</button></td>
                                       </tr>
                                       <tr>
                                       		<td>${clearTotal.clearCountryName }</td>
                                            <td>${clearTotal.countryTotal }</td>
                                            <td>${clearTotal.realCountryClear }</td>
                                            <td>${clearTotal.countryRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtTecClear?menuId=clear','技术明白人列表',1200,800);">点击查看技术明白人列表</button></td>
                                       </tr>
                                       
                                       <%-- 技术培训扶贫 --%>
                                       <%-- <tr>
                                       		<td>${trainTotal.trainName }</td>
                                            <td>----</td>
                                            <td>${trainTotal.trainCt }</td>
                                            <td>----</td>
                                            <!-- <td>120</td> -->
                                            <td>${trainTotal.realPeople }</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtTrain?menuId=train','技术培训列表',1200,800);">点击查看技术培训列表</button></td>
                                       </tr> --%>
                                       
                                       <%-- 林业政策扶贫 --%>
                                       <tr>
                                       		<td>${policyTotal.policyName }</td>
                                            <td>----</td>
                                            <td>${policyTotal.policyCt }</td>
                                            <td>----</td>
                                            <!-- <td>120</td> -->
                                            <td>${policyTotal.realPeople }</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtPolicy?menuId=policy','政策扶贫列表',1200,800);">点击查看林业政策列表</button></td>
                                       </tr>
                                       
                                       <%-- 当月工作月报 --%>
                                      <%--  <tr>
                                       		<td>${reportTotal.reportName }</td>
                                            <td>${reportTotal.totalReport }</td>
                                            <td>${reportTotal.realReport }</td>
                                            <td>${reportTotal.reportRate }%</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtWorkReport?menuId=report','工作月报列表',1200,800);">点击查看工作月报列表</button></td>
                                       </tr> --%>
                                       <%-- 信息宣传 --%>
                                       <%-- <tr>
                                       		<td>${deliverTotal.deliverName }</td>
                                            <td>----</td>
                                            <td>${deliverTotal.deliverTotal }</td>
                                            <td>----</td>
                                            <!-- <td>120</td> -->
                                            <td>----</td>
                                            
                                            <td align="center"><button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " onclick="openWin('${ctx }/gt/gtInfoDeliver?menuId=deliver','信息宣传列列表',1200,800);">点击查看信息宣传列表</button></td>
                                       </tr> --%>
                                       <%-- </c:forEach> --%>
                                    </tbody>
                                </table>
                                <%-- <div class="am-cf">

                                    <div class="am-fr">
                                        ${page }
                                    </div>
                                </div>
                                <hr> --%>
                        </div>

                    </div>
                </div>
                <div class="tpl-alert"></div>
            </div>


        </div>

    </div>

  <script src="${ctxStatic}/sdlyfp/js/jquery.min.js"></script>
  <script src="${ctxStatic}/sdlyfp/js/amazeui.min.js"></script>
  <script src="${ctxStatic}/sdlyfp/js/app.js"></script>
</body>
<script type="text/javascript">
$(document).ready(function() {
	//$(".tpl-left-nav-menu").find("li a").eq(2).addClass("active");
	var menuId = '${gtForest.menuId }';
	if(menuId)
	{
		$(".tpl-left-nav-menu").find("#"+menuId).addClass("active");
	}
	
	var message = "${message}";
	if(message)
	{
		var messageType = "${messageType}";
		msg(message,3000,messageType);
	}
});

function doSubmit()
{
	var areaCode = $("#town").val();
	if(!areaCode || 'null' == areaCode)
	{
		areaCode = $("#county").val();
	}
	if(!areaCode || 'null' == areaCode)
	{
		areaCode = $("#region").val();
	}
	if(!areaCode || 'null' == areaCode)
	{
		areaCode = '${fns:getUser().area.code}';
	}
	
	$("#areaCode").val(areaCode);
	document.forms[0].submit();	
}

function del(forestId)
{
	var content = "您确认要删除吗？";
	var url = ctx + "/gt/gtForest/delete?id=" + forestId + "&menuId=${gtForest.menuId }";
	comfirmMsg(content,url,"warning");
}
</script>
</html>